java selenium new window

49

java selenium new window -

// This will open the new tab
driver.switchTo().newWindow(WindowType.TAB);

// This will open the new window
driver.switchTo().newWindow(WindowType.WINDOW);

Comments

Submit
0 Comments